package com.bee.caf_ss_android.common;

/**
 * 接口通用返回参数
 */
public class GeneralReturnEntity {

    //返回值编码,默认为0,代表正常
    private int resCode = 1 ;
    //当返回值不为0时,可以设置错误信息
    private String errMsg ;
    // 正常状态下的数据返回
    private String data ;


    public int getResCode() {
        return resCode;
    }
    public void setResCode(int resCode) {
        this.resCode = resCode;
    }
    public String getErrMsg() {
        return errMsg;
    }
    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }
    public String getData() {
        return data;
    }
    public void setData(String data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return com.alibaba.fastjson.JSONObject.toJSONString(this) ;
    }
}
